﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Classes {

    public class Stat {

        public static var OFFENSE_LEVEL:String;
        public static var OFFENSE_XP:String;
        public static var OFFENSETONEXTLEVEL:String;
        public static var DEFENSE_LEVEL:String;
        public static var DEFENSE_XP:String;
        public static var DEFENSETONEXTLEVEL:String;
        public static var ELORANK:String;
        public static var FANS:String;
        public static var STAMINA:String;
        public static var WINS:String;
        public static var LOSSES:String;
        public static var DRAWS:String;
        public static var NAME:String;
        private static var m_constantsDefined:Boolean;

        private var m_value:Number;

        public function Stat(_arg1:Number){
            if (m_constantsDefined == false){
                this.defineConstants();
            };
            this.m_value = _arg1;
        }
        public function get value():Number{
            return (this.m_value);
        }
        public function set value(_arg1:Number):void{
            this.m_value = _arg1;
        }
        private function defineConstants():void{
            var _local1:XML = Global.gameSettings.getXML();
            OFFENSE_LEVEL = _local1.stadium.@Stat_OFFENSE_LEVEL;
            OFFENSE_XP = _local1.stadium.@Stat_OFFENSE_XP;
            OFFENSETONEXTLEVEL = _local1.stadium.@Stat_OFFENSETONEXTLEVEL;
            DEFENSE_LEVEL = _local1.stadium.@Stat_DEFENSE_LEVEL;
            DEFENSE_XP = _local1.stadium.@Stat_DEFENSE_XP;
            DEFENSETONEXTLEVEL = _local1.stadium.@Stat_DEFENSETONEXTLEVEL;
            ELORANK = _local1.stadium.@Stat_ELORANK;
            FANS = _local1.stadium.@Stat_FANS;
            STAMINA = _local1.stadium.@Stat_STAMINA;
            WINS = _local1.stadium.@Stat_WINS;
            LOSSES = _local1.stadium.@Stat_LOSSES;
            DRAWS = _local1.stadium.@Stat_DRAWS;
            NAME = _local1.stadium.@Stat_NAME;
        }

    }
}//package Classes 
